<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<title>Slot 插槽</title>
	<link rel="stylesheet" href="../static/css/element2.css">
	<script src="../static/js/vue.global.prod.js"></script>
	<script src="../static/js/element-plue2.js"></script>
	<link rel="stylesheet" href="../static/css/com.css">
</head>
<body>
<div id="app" class="">
	<el-divider content-position="left">基础用法</el-divider><!-- =============================================================== -->
	
	
	
	<el-divider content-position="left">详见：</el-divider><!-- =============================================================== -->
	<p class="desc">feedback/Drawer.html 【自定义头部】</p>
	<p class="desc">form/Transfer.html 【自定义】【使用作用域槽自定义数据项】（这个例子完整的演示了插槽的使用）</p>
	<p class="desc"></p>
	<p class="desc"></p>
	<p class="desc"></p>
	<p class="desc"></p>
	<p class="desc"></p>
	<p class="desc"></p>
	<p class="desc"></p>
	<p class="desc"></p>
</div>

</body>
<script>
const Main = {
	data() {
		return {
			message: 'Hello Vue!!'
		}
	},
	methods:{
		fn(){
			this.message = "欢迎来到HTML中文网。";
		},
		hello(par){
			this.message = "参数值为：" + par;
		}
	}
}

const app = Vue.createApp(Main);
app.use(ElementPlus);
app.mount("#app");

</script>
</html>